﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ATM.Common;
using ATM.DAO;
using ATM.Entities;

namespace ATM.BUS
{
    public class CheckBalanceBus
    {
        public static string GetBalance(string cardID)
        {
            Account acc = AccountDAO.GetCurrentAccount(cardID);
            return acc.Balance.ToString();
        }
    }
}
